/**
 * Created by linxin on 2017/3/11.
 */
import {
  save
} from '../../utils';

export default {
  SET_HIGHLIGHT_COLOR(states, {color='#00ff00'}) {
    states.highlight_color = color;
    save("highlight_color", color)
  },
  SET_TEXT_COLOR(states, {color='#000000'}) {
    states.text_color = color;
    save("text_color", color)
  },
}
